#define DISPLAY_1   printf
#define DISPLAY_0   DISPLAY_1

#define DISPLAY_BUFFER_1(__buffer,__buffer_size)                            \
    int __buffer_index = 0;                                                 \
    printf("recv:");                                                        \
    for(__buffer_index=0;__buffer_index < __buffer_size;__buffer_index++){  \
        printf("0x%02x, ", __buffer[__buffer_index]);                                    \
    }                                                                       \
    printf("\n");

#define DISPLAY_BUFFER_0(__buffer,__buffer_size)    DISPLAY_BUFFER_1(__buffer,__buffer_size)
